﻿//-----------------------------------------------------------------------------------------
// <copyright file="BlipService.Recording.cs" company="Jakub Florczyk (www.jakubflorczyk.pl)">
//      Copyright © 2009 Jakub Florczyk (www.jakubflorczyk.pl)
//      http://blipnet.codeplex.com/
// </copyright>
//-----------------------------------------------------------------------------------------

namespace BlipNet
{
    using System;
    using System.Globalization;

    /// <summary>
    /// Blip serwis.
    /// </summary>
    public partial class BlipService
    {
        /// <summary>
        /// Zwraca nagranie skojarzone z wiadomością o podanym id.
        /// </summary>
        /// <param name="updateId">Identyfikator wiadomości.</param>
        /// <returns>Nagranie skojarzone z wiadomością.</returns>
        public Recording GetUpdateRecording(int updateId)
        {
            return RequestGet<Recording>(String.Format(CultureInfo.InvariantCulture, "/updates/{0}/Recording", updateId));
        }
    }
}
